/*flex布局*/
.ef-flow-box {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(5%, #ebebeb), color-stop(5%, rgba(0, 0, 0, 0))), -webkit-gradient(linear, left top, left bottom, color-stop(5%, #ebebeb), color-stop(5%, rgba(0, 0, 0, 0)));
  background-size: 1rem 1rem;
  /*height: calc(86vh);*/
  display: flex;
  min-height: 86vh;
  flex-direction: column;
}

/*头部布局*/
.ef-flow-header {
  height: 30px;
}

/*main是box的flex布局下的项目，然后main本身又是一个flex布局*/
.ef-flow-main {
  /*height: calc(100% - 47px);*/
  margin-top: 12px;
  display: flex;
  flex: 1; /*让main的内容放大，垂直方向铺满整个屏幕*/
}

.ef-flow-content {
  position: relative;
  overflow: scroll;
  flex: 1; /*让content的内容放大，水平方向铺满整个屏幕*/

}
.ef-content-switch{
  position: absolute;
  top: 50%;
  /*left: 225px;*/
  margin-top: -9px;
  width: 18px;
  height: 36px;
  line-height: 36px;
  background-color: #F1F3F4;
  z-index: 999;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  border-bottom: 1px solid #dce3e8;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08)
}
/*左边框*/
.ef-left-box {
  flex: 0 0 180px;
  background-color: #FFFFFF;
  border-right: 1px solid #dce3e8;
  position: relative;
}

.ef-left-switch {
  position: absolute;
  top: 50%;
  left: 225px;
  margin-top: -9px;
  width: 18px;
  height: 36px;
  line-height: 36px;
  background-color: #F1F3F4;
  z-index: 999;
  cursor: pointer;
  border-radius: 0 6px 6px 0;
  border-bottom: 1px solid #dce3e8;
  box-shadow: 0 1px 4px rgba(0, 21, 41, .08)
}

/*右边框*/
.ef-right-box {
  flex: 0 0 285px;
  border-left: 1px solid #dce3e8;
  background-color: #FBFBFB
}

/*画布*/
.ef-flow-canvas {
  position: absolute;
  top: 1600px;
  left: 1600px;
}

/*顶部工具栏*/
.ef-tooltar {
  background-color: #FFFFFF;
  padding-left: 10px;
  box-sizing: border-box;
  height: 42px;
  line-height: 42px;
  z-index: 3;
  border-bottom: 1px solid #DADCE0;
}

.jtk-overlay {
  cursor: pointer;
  color: #4A4A4A;
}


/*节点菜单*/
.ef-node-pmenu {
  cursor: pointer;
  height: 32px;
  line-height: 32px;
  width: 225px;
  display: block;
  font-weight: bold;
  color: #4A4A4A;
  padding-left: 5px;
}

.ef-node-pmenu:hover {
  background-color: #E0E0E0;
}

.ef-node-menu-li {
  color: #565758;
  width: 150px;
  border: 1px dashed #E0E3E7;
  margin: 5px 0 5px 0;
  padding: 5px;
  border-radius: 5px;
  padding-left: 8px;
}

.ef-node-menu-li:hover {
  /* 设置移动样式*/
  cursor: move;
  background-color: #F0F7FF;
  border: 1px dashed #1879FF;
  border-left: 4px solid #1879FF;
  padding-left: 5px;
}

.ef-node-menu-ul {
  list-style: none;
  padding-left: 20px
}

/*节点的最外层容器*/
.ef-node-container {
  position: absolute;
  display: flex;
  width: 170px;
  height: 32px;
  border: 1px solid #7B7B7B;
  border-left-color:#E0E3E7 ;
  border-radius: 5px;
  background-color: #fff;
}

.ef-node-container:hover {
  /* 设置移动样式*/
  cursor: move;
  background-color: #F0F7FF;
  /*box-shadow: #1879FF 0px 0px 12px 0px;*/
  background-color: #F0F7FF;
  border: 1px dashed #1879FF;
}

/*节点激活样式*/
.ef-node-active {
  background-color: #F0F7FF;
  /*box-shadow: #1879FF 0px 0px 12px 0px;*/
  background-color: #F0F7FF;
  border: 1px solid #5d77ff;
}

/*节点左侧的竖线*/
.ef-node-left {
  width: 4px;
  background-color: #5d77ff;
  border-radius: 4px 0 0 4px;
}

/*节点左侧的图标*/
.ef-node-left-ico {
  line-height: 32px;
  margin-left: 8px;
}

.ef-node-left-ico:hover {
  /* 设置拖拽的样式 */
  cursor: crosshair;
}

/*节点显示的文字*/
.ef-node-text {
  color: #565758;
  font-size: 12px;
  line-height: 32px;
  margin-left: 8px;
  width: 100px;
  /* 设置超出宽度文本显示方式*/
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

/*节点右侧的图标*/
.ef-node-right-ico {
  line-height: 32px;
  position: absolute;
  right: 5px;
  color: #84CF65;
  cursor: default;
}

/*节点的几种状态样式*/
.el-node-state-success {
  line-height: 32px;
  position: absolute;
  right: 5px;
  color: #84CF65;
  cursor: default;
}

.el-node-state-error {
  line-height: 32px;
  position: absolute;
  right: 5px;
  color: #F56C6C;
  cursor: default;
}

.el-node-state-warning {
  line-height: 32px;
  position: absolute;
  right: 5px;
  color: #E6A23C;
  cursor: default;
}

.el-node-state-running {
  line-height: 32px;
  position: absolute;
  right: 5px;
  color: #84CF65;
  cursor: default;
}


/*node-form*/
.ef-node-form-header {
  height: 32px;
  border-top: 1px solid #dce3e8;
  border-bottom: 1px solid #dce3e8;
  background: #F1F3F4;
  color: #000;
  line-height: 32px;
  padding-left: 12px;
  font-size: 14px;
}

.ef-node-form-body {
  margin-top: 10px;
  padding-right: 10px;
  padding-bottom: 20px;
}

/* 连线中的label 样式*/
.jtk-overlay.flowLabel:not(.aLabel) {
  padding: 4px 10px;
  background-color: white;
  color: #565758 !important;
  border: 1px solid #E0E3E7;
  border-radius: 5px;
}

/* label 为空的样式 */
.emptyFlowLabel {
}


.ef-dot {
  background-color: #1879FF;
  border-radius: 10px;
}

.ef-dot-hover {
  background-color: red;
}

.ef-rectangle {
  background-color: #1879FF;
}

.ef-rectangle-hover {
  background-color: red;
}

.ef-img {
}

.ef-img-hover {
}


.ef-drop-hover {
  border: 1px dashed #1879FF;
}
